package com.sq.partner.manager.mybatis.model;

import java.math.BigDecimal;
import java.text.DecimalFormat;


/**
 * 激活卡激活model
 * SQ
 *
 */
public class ActirationCardActivated {
    private String planNo;//方案号
    private String planName;//方案名称
    private Long maxDays;//最大投保天数
    private Long minDays;//最小投保天数
    private Long unirPp;//最大投保份数
    private String instant;//是否即时起保 （是：Y，否：N）
    private Long maxDelayDay;//最长延时起保天数
    private Long minDelayDay;//最短延时起保天数
    private String pppUnit; //保险期间
    private String prodCode; //产品编码
    private String realSignFlag;//即时投保字段
    private Long insuredCount; //被保险人总数
    private BigDecimal totPremamt; //总保费
    private String stringTotPremamt;
    private String isSeeMoney;
    
    private String disputeType; //争议处理方式
    private String arbitrationDept; //仲裁机构
    private String specialInfo;//特殊产品标识
    private String riskMainType;//1:学平险;2:驾乘险;3:旅意险;4:航意旅意险;5:建工险;6:借款人意外险;7:乘意险;8:附加高铁延误险;9:驾意险
    private String insuredNoLimit;//是否限制投保人数Y是，N否
    private String  minInsuredNo;//最低投保人数
    
    private CardInfo cardInfo;//卡单信息
    private String prodType;//产品类型 3001：个单，3002：团单，3003：驾乘险，3004：借意险
    private String id; //卡定义id
    private String name;//卡名称
    private BigDecimal modalPremamtPp; // 每份保费，固定保费
    private String pricelessType;//是否有价标志0有价  1无价
    private String appType;//个团标识 0：个 1：团
    private String partnerNo;
    
    public String getPlanNo() {
        return planNo;
    }
    public void setPlanNo(String planNo) {
        this.planNo = planNo;
    }
    public String getPlanName() {
        return planName;
    }
    public void setPlanName(String planName) {
        this.planName = planName;
    }
    public Long getMaxDays() {
        return maxDays;
    }
    public void setMaxDays(Long maxDays) {
        this.maxDays = maxDays;
    }
    public Long getMinDays() {
        return minDays;
    }
    public void setMinDays(Long minDays) {
        this.minDays = minDays;
    }
    public Long getUnirPp() {
        return unirPp;
    }
    public void setUnirPp(Long unirPp) {
        this.unirPp = unirPp;
    }
    public String getInstant() {
        return instant;
    }
    public void setInstant(String instant) {
        this.instant = instant;
    }
    public Long getMaxDelayDay() {
        return maxDelayDay;
    }
    public void setMaxDelayDay(Long maxDelayDay) {
        this.maxDelayDay = maxDelayDay;
    }
    public Long getMinDelayDay() {
        return minDelayDay;
    }
    public void setMinDelayDay(Long minDelayDay) {
        this.minDelayDay = minDelayDay;
    }
    public CardInfo getCardInfo() {
        return cardInfo;
    }
    public void setCardInfo(CardInfo cardInfo) {
        this.cardInfo = cardInfo;
    }
    public String getPppUnit() {
        return pppUnit;
    }
    public void setPppUnit(String pppUnit) {
        this.pppUnit = pppUnit;
    }
    public String getProdCode() {
        return prodCode;
    }
    public void setProdCode(String prodCode) {
        this.prodCode = prodCode;
    }
    public String getRealSignFlag() {
        return realSignFlag;
    }
    public String getRiskMainType() {
        return riskMainType;
    }
    public void setRiskMainType(String riskMainType) {
        this.riskMainType = riskMainType;
    }
    public void setRealSignFlag(String realSignFlag) {
        this.realSignFlag = realSignFlag;
    }
    public Long getInsuredCount() {
        return insuredCount;
    }
    public void setInsuredCount(Long insuredCount) {
        this.insuredCount = insuredCount;
    }
    public BigDecimal getTotPremamt() {
        return totPremamt;
    }
    public void setTotPremamt(BigDecimal totPremamt) {
        DecimalFormat decimalFormat = new DecimalFormat("#.00");
        if (totPremamt != null) {
            this.totPremamt = new BigDecimal(decimalFormat.format(totPremamt));
            this.stringTotPremamt = this.totPremamt.toString();
        } else {
            this.totPremamt = totPremamt;
            this.stringTotPremamt = "";
        }
    }
    public String getStringTotPremamt(){
        return stringTotPremamt;
    }
    public String getDisputeType() {
        return disputeType;
    }
    public void setDisputeType(String disputeType) {
        this.disputeType = disputeType;
    }
    public String getArbitrationDept() {
        return arbitrationDept;
    }
    public void setArbitrationDept(String arbitrationDept) {
        this.arbitrationDept = arbitrationDept;
    }
    public String getSpecialInfo() {
        return specialInfo;
    }
    public void setSpecialInfo(String specialInfo) {
        this.specialInfo = specialInfo;
    }
    public String getInsuredNoLimit() {
        return insuredNoLimit;
    }
    public void setInsuredNoLimit(String insuredNoLimit) {
        this.insuredNoLimit = insuredNoLimit;
    }
    public String getMinInsuredNo() {
        return minInsuredNo;
    }
    public void setMinInsuredNo(String minInsuredNo) {
        this.minInsuredNo = minInsuredNo;
    }
    public String getProdType() {
        return prodType;
    }
    public void setProdType(String prodType) {
        this.prodType = prodType;
    }
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public BigDecimal getModalPremamtPp() {
        return modalPremamtPp;
    }
    public void setModalPremamtPp(BigDecimal modalPremamtPp) {
        this.modalPremamtPp = modalPremamtPp;
    }
    public String getPricelessType() {
        return pricelessType;
    }
    public void setPricelessType(String pricelessType) {
        this.pricelessType = pricelessType;
    }
    public String getIsSeeMoney() {
        return isSeeMoney;
    }
    public void setIsSeeMoney(String isSeeMoney) {
        this.isSeeMoney = isSeeMoney;
    }
    public String getAppType() {
        return appType;
    }
    public void setAppType(String appType) {
        this.appType = appType;
    }
    public String getPartnerNo() {
        return partnerNo;
    }
    public void setPartnerNo(String partnerNo) {
        this.partnerNo = partnerNo;
    }
    
}
